package com.antball.aaa.bridge;

/**
 * @Auther: huangsj
 * @Date: 2019/9/5 17:31
 * @Description:
 */
public abstract class Speak {

    IPerson person;

    public Speak(IPerson person) {
        this.person = person;
    }

    public void talk(){
        System.out.println(person.getColor() + " " + person.getLanguage());
    }

}
